home *** CD-ROM | disk | FTP | other *** search
/ An Introduction to Progr…l Basic 6.0 (4th Edition) / An Introduction to Programming using Visual Basic 6.0.iso / COMMON / TOOLS / VB / CABINETS / MSDAO350.CAB / icontrols / CustomDrawEventHandler.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-01-08  |  811 b   |  14 lines

  1. package icontrols;
  2.  
  3. import com.ms.wd.core.Closure;
  4.  
  5. public class CustomDrawEventHandler extends Closure {
  6.    public void invoke(Object sender, CustomDrawEvent e) {
  7.       ((Closure)this).invokeMethod(new Object[]{sender, e});
  8.    }
  9.  
  10.    public CustomDrawEventHandler(Object target, String methodName) {
  11.       super(target, methodName);
  12.    }
  13. }
  14.